home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / go / prog / gs109sit.hqx / gs0.60.doc < prev    next >
Encoding:
Text File  |  1993-02-09  |  13.8 KB  |  259 lines

  1. GoServant 0.60 Jan 25, 1993  (and version 1.00 Feb. 9, 1993)
  2. ============================================================
  3.  
  4. (See the gs1.00.update file for additonal features in GoServant 1.00.)
  5.  
  6. John A. Bate, Dept. of Computer Science, University of Manitoba
  7. Winnipeg, Manitoba, Canada R3T 2N2   (204) 474-6791
  8. email: bate@cs.umanitoba.ca
  9.  
  10. Introduction
  11. ------------
  12. GoServant is an application which provides a convenient user interface
  13. for the Internet Go Servers. You should already be familiar with the servers
  14. before using this program. The servers can be reached by using the commands
  15.    telnet icsib18.icsi.berkeley.edu 6969 (Berkeley, California)
  16.    telnet ftp.pasteur.fr 6969 (France)
  17.    ****DON'T FORGET THE PORT NUMBER 6969!!****
  18.    ****The Berkeley address may cease to exist soon****
  19. from any system supporting telnet. There is online help and you can also
  20. obtain help files via ftp. Just log in, type help, and the rest is easy.
  21. DON'T expect GoServant to enable you to use the servers without learning
  22. about them. Get the help files, learn the commands, and become familiar
  23. with the servers FIRST. Then you can use GoServant to make it all much easier.
  24. GoServant is a "smart" terminal emulator which can parse and recognize the
  25. normal output from the server. It is intended to be run by itself. You do
  26. NOT need to run a terminal program at the same time.
  27.  
  28. GoServant is freeware. Please fill in, cut out, and mail (electronically
  29. of course) the registration form below.
  30.  
  31. ================GoServant 1.00 Registration====================
  32.     Real name: 
  33.     IGS  name: 
  34.          rank: 
  35. email address: 
  36. Most wanted features in future versions (in order of priority):
  37.    1: 
  38.    2: 
  39.    3: 
  40. ===============================================================
  41.  
  42. Setting up your system for using GoServant
  43. ------------------------------------------
  44.  
  45. There are two ways to use GoServant: with the communications toolbox or
  46. without it. Without the communications toolbox, GoServant will operate in
  47. "plain" mode using only direct ascii communications via the serial ports
  48. (probably to a modem) and a dumb terminal which knows about backspace, bell,
  49. return and nothing else. This is a simple but usable configuration.
  50. To get a full set of features, however, you need the communications toolbox.
  51.  
  52. The communications toolbox is a set of system routines which allow
  53. an application (like GoServant) to use various "tools" for communication and
  54. terminal emulation. To use it, you require 2 things:
  55.    1) The communications toolbox
  56.    2) The proper tools
  57. If you have system 7, you already have the toolbox, since it is built-in. If
  58. you have system 6.0.4 or higher, you can install the toolbox. If you have an
  59. older system, you're out of luck. (Instructions for installing the toolbox
  60. are given below.) You also need the correct tools, and there are two types
  61. which GoServant can use: connection tools (which handle the communications)
  62. and terminal tools (which simulate specific terminal types like VT102). You
  63. must obtain the tools which fit your needs, and place them in the extensions
  64. folder in your system folder (in system 7) or in the communications folder
  65. in your system folder (in system 6). 
  66.  
  67. Getting the toolbox and the tools
  68. =================================
  69.  
  70. You can obtain by ftp from ftp.apple.com the following files:
  71.   /dts/mac/sys.soft/netcomm/communications-1-0-1-image.hqx
  72.   /dts/mac/sys.soft/netcomm/basic-conn-set-1-1-1-image.hqx
  73. which contain the toolbox and the tools, respectively, in the form of "disk
  74. images". To convert the disk images into disks, you need the Apple utility
  75. "DiskCopy" which is also available from ftp.apple.com as file
  76.   /dts/utils/diskcopy-4-2.hqx
  77. Do the following:
  78.   1. Get these files onto your Mac, un-binhex them, and un-StuffIt them.
  79.   2. Use DiskCopy to create two disks from the disk image files.
  80.   3. Run the installer on the communications toolbox disk to install the
  81.      toolbox into system 6.0.4 or higher. (Ignore this if you have system 7.)
  82.   4. Place the tools you need from the other disk into your extensions (sys7)
  83.      or communications (sys6) folder.
  84. The tools which I find useful are:
  85.   Apple Modem Tool - a communications tool for using a modem (obviously)
  86.   Serial Tool - for a direct serial ascii connection from your Mac
  87.   VersaTerm Telnet Tool - for using a Mac which is on a network
  88.      This tool is NOT available from Apple and is NOT public domain. Apple's
  89.      MacTCP Tool, at last report, still didn't work with anything except MacX.)
  90.      You can get a package called "VersaTilities" which
  91.      includes this tool (I think). The last mail-order price I saw was $59US.
  92.   TGE TCP Tool - A public domain tool for a Mac on a network, which can
  93.      be used instead of the Versaterm tool. See the gs1.00.update file for
  94.      information on how to obtain it.
  95.   TTY Tool - a terminal tool which emulates a simple TTY terminal
  96.   VT102 Tool - a terminal tool which emulates a VT102 terminal
  97.  
  98. ***If you don't have at least one connection tool and at least one terminal
  99. tool in the proper folder, DON'T CHOOSE THOSE MODES in GoServant!!***
  100.  
  101. Using GoServant
  102. ---------------
  103.  
  104. Before using GoServant, you should make sure that the server is not 
  105. in verbose mode, using the "toggle verbose off" command. Although both
  106. verbose and non-verbose modes are supported, non-verbose is MUCH faster.
  107. If you wish to have running time clocks, you should "toggle client on".
  108. (In a future version of the server, this may no longer be required.)
  109.  
  110. If you have used the "chars" command to change the characters that the server
  111. uses for black and white stones, then you must use the "Options" item
  112. under the Board menu to inform GoServant of the new characters.
  113.  
  114. To play a game
  115. --------------
  116. 1. Select "New Playing Window" from the File menu. A dialog box will appear
  117.    allowing you to set the size of the board (9, 13, 19 are normal), and
  118.    the drawing scale. If you set the scale to N, each stone will be 2N+1
  119.    pixels in diameter. A value of 6 is about right for a 19x19 board on
  120.    a small Mac. The value 2 will give barely visible stones, and 9 will
  121.    give a bigger board if you have a larger screen. You can also request
  122.    "mode icons" which duplicate the mode choices under the Board menu, but
  123.    use up space on the screen. The "Next Move Number" is normally 0. You
  124.    can also choose to have the rows and columns labelled if you wish, have
  125.    the number of captives, score, and time displayed, and set the komi value.
  126. 2. From the Board menu, select "Black->Server" or "White->Server", or if
  127.    you elected to have mode icons, click on one of the top two icons.
  128. 3. Start the game in the normal way. ("match opponent B/W size time byoyomi")
  129. 4. If you are Black, and it is a handicap game, select "Handicap" from the
  130.    Board menu. (If you are White, it will be handled automatically.)
  131. 5. Play the game. Your opponent's moves will simply appear on the board,
  132.    and you make your moves by clicking on the desired point.
  133. 6. To undo an opponent's move, choose "Undo->Server" (command-U) from the
  134.    Board menu. When you opponent undoes one of your moves, GS will notice the
  135.    message and handle it accordingly.
  136. 7. You can use the "Pass->Server" (command-P) item at the end of the game.
  137. 8. If nobody resigns and you enter scoring mode after 3 passes, GoServant
  138.    will also enter a scoring mode. If you elected to display it when you
  139.    created the window, the score will appear below the board, in the form
  140.       B:territory+captives=total W:territory+captives+komi=total D:dame
  141.    You should remove all dead stones by clicking on them. If you filled in
  142.    all the dame before passing, you can tell when all of the dead stones
  143.    are removed by the fact that the "dame" value should become 0. Type
  144.    "done" when you are done. Hopefully, GoServant and IGS will get the same
  145.    score for the game. If a mistake is made, "undo" will restore the board
  146.    to its pre-scoring state in both GoServant and IGS. Note: scoring with
  147.    GoServant is MUCH easier and MUCH more reliable than using IGS itself.
  148.    I suggest that if your opponent is not using GoServant (or another
  149.    client with a similar facility), you ask him/her to let you handle the
  150.    scoring. (Tell him/her NOT to type "done"!)
  151.    
  152. To resume a saved game
  153. ----------------------
  154. 1. Open the playing window as above. Select "Black->Server" or
  155.    "White->Server" as usual.
  156. 2. Type the "load white-black" command to the server as usual.
  157. 3. Type "moves" to load all of the past moves into the window. This is the
  158.    best method, since GoServant can update its internal game record accurately.
  159.    Or, alternatively, use the commands "toggle verbose on", "refresh",
  160.    and "toggle verbose off", which is faster but does not allow "undo" and
  161.    it also will not allow a reliable "Smart Go" game record to be saved.
  162. 4. Continue playing as above.
  163.  
  164. To observe a game
  165. -----------------
  166. 1. Type the "games" command to the server to make sure you have the right
  167.    game number and board size.
  168. 2. Select "New Observe Window" from the File menu. Enter the game number
  169.    into the dialog box. Select the board size and scale as for playing.
  170. 3. If you chose that option in the dialog, a "moves" command will be sent
  171.    to the server to load all of the moves that have already been played.
  172.    (Note: you will probably want to temporarily turn off the "stone
  173.    click" sound so that all of these moves don't cause clicks.) You may
  174.    also manually type "moves n" , or the sequence "toggle verbose on",
  175.    "refresh n", "toggle verbose off" to get the initial state of the board.
  176. 4. Watch the game. Moves will be placed on the board automatically.
  177. 5. Close the window whenever you wish. If the game is still in progress,
  178.    type "observe n" (where n is its current game number) to quit observing.
  179.  
  180. You can have up to 5 game windows open and active at a time. (4 for observing,
  181. and one for playing.)
  182.  
  183. When things go wrong
  184. --------------------
  185.  
  186. GoServant operates by "watching" the characters coming in from the server
  187. and identifying certain key strings of characters. In particular, it
  188. watches for strings like "103(B): Q13" which represent moves. It keeps
  189. track of the next move number for each window, and makes a move ONLY if it
  190. sees a string like this WITH the expected move number. If the move numbers
  191. get out of step somehow, then moves will no longer be recognized properly.
  192. (If an observed game adjourns, then resumes again, this will often happen.)
  193. You can use the "Board Info" item from the Board menu to change it
  194. manually. (The Board menu items always affect the top game window.) Or using
  195. "toggle verbose on", "refresh", "toggle verbose off" will fix it, too. (But
  196. will cause problems with undo and Smart Go files.)
  197.  
  198. GoServant also recognizes the verbose listing of the entire board (*IF* you
  199. have the characters set properly) and can quickly update the entire board
  200. that way as well. It will recognize the next move number when it sees it
  201. on a verbose listing as well. So you can use "toggle verbose on", "refresh",
  202. "toggle verbose off" to fix up the board if necessary. (But "undo" will
  203. not work reliably with this method since it cannot know the order in which
  204. the stones were played, or whether the last move captured anything, etc. 
  205. And the Smart Go file of this board wil not be complete, either.)
  206.  
  207. When playing and/or observing several games at once, it watches for
  208. "Game n: white vs black" and identifies the corresponding window as the
  209. "active" one until it sees the next prompt "#>" or "1" at which point it goes
  210. back to watching for moves in the game you are playing, if any.
  211.  
  212. If the board needs repairs, you may also use the other four "modes" which
  213. add black, white, or alternating stones, or erase stones. These are 
  214. strictly local. (You can use them to experiment or doodle or fix up
  215. the board or whatever you like. Undo does not handle these, however.)
  216.  
  217. Other Menu Items
  218. ----------------
  219.  
  220. The "Terminal" menu contains a "Terminal Options..." item, whose effect is
  221. different in "plain", or "toolbox" mode. In plain mode, it will allow you to
  222. toggle local echoing of characters, and whether or not backspace characters
  223. are sent as "delete" characters instead (for Unix). (Control characters are
  224. typed using the "control" key, by the way.) In toolbox mode, it will bring
  225. up the tool dialog again, and you can change the options. These choices will
  226. not be saved as defaults for next time, however. (You have to choose them
  227. right at the start for that.) There is also an "Echo On Paste" item. When
  228. pasting data to the terminal, select this option if you see the characters
  229. twice, or not at all. The last two items type the standard Hayes-style
  230. "dial" and "hang up" commands for you if you are using a modem.
  231.  
  232. The "Edit" menu supplies copy and paste operations. Note that the characters
  233. on the screen are considered "read-only" and so clear and cut are not
  234. allowed. Also, all pasting is done at the bottom of the terminal screen,
  235. sending the characters on the communications line (and echoing them if that
  236. option under the Terminal menu is checked). If you are using a terminal tool,
  237. note that there are two separate sections on the screen: the bottom section
  238. (usually 24 lines) that is handled by the terminal tool, and the top section
  239. that GoServant handles which preserves the last 80 or so lines that have
  240. scolled off the top of the terminal tool. (I suggest enabling a status bar in 
  241. the terminal tool, which gives a visual dividing line between the two
  242. sections.) The only restriction is that it is not possible to select a block 
  243. of characters that spans both sections.
  244.  
  245.  
  246. Problems/Suggestions/Comments
  247. -----------------------------
  248.  
  249. Please let me know if you encounter any bugs or problems. If you can 
  250. identify the cause of a problem and REPEAT it, I will try to fix it promptly
  251. if you tell me the details.
  252.  
  253. -----------------------------------+-----------------------------
  254. Dr. John A. Bate    (1 kyu)        | Phone: (204) 474-6791
  255. Department of Computer Science     | FAX: (204) 269-9178
  256. University of Manitoba             |
  257. Winnipeg, Manitoba, Canada R3T 2N2 | email: bate@cs.umanitoba.ca
  258. -----------------------------------+-----------------------------
  259.